/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.stat;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.util.Pair;
import java.util.Vector;

public class z {
    public static void a(Context paramContext, Vector paramVector) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("qihoo_game_online_conf", 0);
        if (paramVector == null)
            return;
        for (int i = 0; i < paramVector.size(); ++i)
            localSharedPreferences.edit()
                    .putString((String) ((Pair) paramVector.get(i)).first, (String) ((Pair) paramVector.get(i)).second)
                    .commit();
    }

    public static String a(Context paramContext, String paramString1, String paramString2) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("qihoo_game_online_conf", 0);
        return localSharedPreferences.getString(paramString1, paramString2);
    }
}